package com.kfm.jdbc.day0404.thread;

public class YeildDemo {

    public static void main(String[] args) {
        MyRunnable1 runnable1 = new MyRunnable1();

        Thread t1 = new Thread(runnable1, "线程A");
        Thread t2 = new Thread(runnable1, "线程B");
        Thread t3 = new Thread(runnable1, "线程C");

        t1.start();
        t2.start();
        t3.start();
    }
}
